package mspbots.data.tl.prod.autotask.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import mspbots.data.tl.entity.BaseTenantEntity;

import java.time.LocalDateTime;

@Data
@Builder
@EqualsAndHashCode(callSuper=false)
@AllArgsConstructor
@NoArgsConstructor
@TableName("task_autotask_invoice")
public class TaskAutotaskInvoice extends BaseTenantEntity {

    private Long invoiceId;
    private Integer batchId;
    private Integer invoiceEditorTemplateId;
    private Integer paymentTerm;
    private Integer taxGroup;
    private String comments;
    private String invoiceNumber;
    private String orderNumber;
    private String taxRegionName;
    private Double invoiceTotal;
    private Double totalTaxValue;
    private Boolean isVoided;
    private LocalDateTime createDateTime;
    private LocalDateTime dueDate;
    private LocalDateTime fromDate;
    private LocalDateTime invoiceDateTime;
    private LocalDateTime paidDate;
    private LocalDateTime toDate;
    private LocalDateTime voidedDate;
    private LocalDateTime webServiceDate;
    private LocalDateTime syncTime;

}
